package com.wangjie.storage.service;

import com.wangjie.storage.domain.Storage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface StorageService extends IService<Storage> {
    /**
     * 扣除存储数量
     *
     * @param commodityCode 商品编码
     * @param count         数量
     */
    void deduct(String commodityCode, int count);
}